//
//  OrderRefuseViewController.m
//  beautyLamp
//
//  Created by Tam Kwok To Michael on 2017/9/12.
//  Copyright © 2017年 Tam Kwok To Michael. All rights reserved.
//

#import "OrderRefuseViewController.h"
#import "BLOrder.h"

@interface OrderRefuseViewController ()
@property (weak, nonatomic) IBOutlet UILabel *orderThemeLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderPriceLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderDesLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderSaleLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderCodeLabel;
@property (weak, nonatomic) IBOutlet UILabel *orderCreateLabel;
@end

@implementation OrderRefuseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setupUI];
}

- (void)setupUI {
    self.edgesForExtendedLayout = UIRectEdgeNone;
    self.title = @"订单详情";
    _orderThemeLabel.text = [NSString stringWithFormat:@"订单主题：%@",self.order.orderTitle];
    _orderPriceLabel.text = [NSString stringWithFormat:@"订单总价：%@",self.order.orderPrice];
    _orderDesLabel.text = [NSString stringWithFormat:@"订单描述：%@",self.order.orderInfo];
    _orderSaleLabel.text = [NSString stringWithFormat:@"订单销售：%@",self.order.saleName];
    _orderCodeLabel.text = [NSString stringWithFormat:@"订单编号：%@",self.order.orderCode];
    _orderCreateLabel.text = [NSString stringWithFormat:@"下单时间：%@",self.order.orderTime];
}
@end
